﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormPedido.aspx.cs" Inherits="CapaPresentacion.FormPedido" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 101px;
        }
        .style3
        {
            width: 35px;
        }
        .style4
        {
            width: 64px;
        }
        .style5
        {
            width: 192px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 562px">
    
       
        <center>
            Mantenimiento de Pedido<br />
            <br />
            <br />
            <br />
            
            <table style="width: 59%; height: 64px;">
                <tr>
                    <td class="style7">
                        Insertar Pedido</td>
                </tr>
            </table>
             <asp:Panel ID="Panel1" runat="server" Height="412px" Width="558px">
            <table class="style1">
                <tr>
                    <td class="style2">
                        Pedido</td>
                    <td class="style5">
                        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                    </td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Cliente</td>
                    <td class="style5">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    </td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Empleado</td>
                    <td class="style5">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Fecha Pedido</td>
                    <td class="style5">
                        &nbsp;</td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Sub Total</td>
                    <td class="style5">
                        &nbsp;</td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Total</td>
                    <td class="style5">
                        &nbsp;</td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        IGV</td>
                    <td class="style5">
                        &nbsp;</td>
                    <td class="style4">
                        &nbsp;</td>
                    <td class="style3">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        <asp:Button ID="Button1" runat="server" Text="Nuevo" />
                    </td>
                    <td class="style5">
                        <asp:Button ID="Button2" runat="server" Text="Grabar" />
                    </td>
                    <td class="style4">
                        <asp:Button ID="Button3" runat="server" Text="Buscar" />
                    </td>
                    <td class="style3">
                        <asp:Button ID="Button4" runat="server" Text="Eliminar" />
                    </td>
                </tr>
            </table>

             <center>
                     Listar Pedidos<br />
        <asp:GridView ID="gvProductos" runat="server" AutoGenerateColumns="False" 
            Height="187px" Width="558px" CellPadding="4" ForeColor="#333333" 
                GridLines="None" style="margin-top: 0px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="IdPedido" HeaderText="Pedido" />
                <asp:BoundField DataField="IdCliente" HeaderText="Cliente" />
                <asp:BoundField DataField="IdEmpleado" HeaderText="Empleado" />
                <asp:BoundField DataField="Fecha Pedido" HeaderText="Fecha Pedido" />
                <asp:BoundField DataField="Sub Total" HeaderText="Sub Total" />
                <asp:BoundField DataField="Total" HeaderText="Total" />
                <asp:BoundField DataField="IGV" HeaderText="IGV" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>

            </asp:Panel>
        </center>
    </center>
    </div>
    </form>
</body>
</html>
